NXP Semiconductors /LPC11Axx /CT16B0 /EMR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as EMR

31282724232019161512118743000000000000000000000000000000000000000000 (EM0)EM00 (EM1)EM10 (EM2)EM20 (EM3)EM30 (DO_NOTHING_)EMC00 (DO_NOTHING_)EMC10 (DO_NOTHING_)EMC20 (DO_NOTHING_)EMC30RESERVED

EMC1=DO_NOTHING_, EMC2=DO_NOTHING_, EMC0=DO_NOTHING_, EMC3=DO_NOTHING_

Description

External Match Register. The EMR controls the match function and the external match pins

Fields

EM0

External Match 0. This bit reflects the state of output CT16B0_MAT0/CT16B1_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH).

EM1

External Match 1. This bit reflects the state of output CT16B0_MAT1/CT16B1_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH).

EM2

External Match 2. This bit reflects the state of match channel 2. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output.

EM3

External Match 3. This bit reflects the state of output of match channel 3. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output.

EMC0

External Match Control 0. Determines the functionality of External Match 0. Table 238 shows the encoding of these bits.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bi_MAT0 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bi_MAT0 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC1

External Match Control 1. Determines the functionality of External Match 1.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bi_MAT1 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bi_MAT1 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC2

External Match Control 2. Determines the functionality of External Match 2.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bi_MAT2 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bi_MAT2 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC3

External Match Control 3. Determines the functionality of External Match 3. Table 238 shows the encoding of these bits.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bi_MAT3 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bi_MAT3 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

RESERVED

Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.

Links

()